﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Songs.aspx.cs" Inherits="Ras2Web.Songs" Title="Öll lög" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <h2>Öll lög</h2>
    <asp:GridView
            ID="m_gridSongs" 
            runat="server" 
            AutoGenerateColumns="False"
            AllowPaging="true"
            OnPageIndexChanging="m_gridSongs_IndexChanging"
            PageSize="25"
            BorderWidth="0px"
            CellPadding="3">
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="ID" 
                DataNavigateUrlFormatString="~/Song.aspx?ID={0}" DataTextField="Name" 
                HeaderText="Lag" />
            <asp:HyperLinkField DataNavigateUrlFields="PerformerID"
                DataNavigateUrlFormatString="~/Performer.aspx?ID={0}" DataTextField="PerformerName"
                HeaderText="Flytjandi" />
        </Columns>
        <HeaderStyle CssClass="tableHeader" />
        </asp:GridView>
    
</asp:Content>
